Crate tor_async_utils
source ·Expand description
tor-async-utils
Utilities (low-level) for Tor
Miscellaneous futures-related utilities for tor-*
and arti-*
.
This crate lives near the bottom of the Tor crate stack.
If you find anything in this crate generally useful, it should probably move out into a crate of its own.
License: MIT OR Apache-2.0
Modules
- Thin veneer over
futures::channel::oneshot
to fix use withselect!
Structs
- Wrapper for
postage::watch::Sender
that sendsDropNotifyEof::eof()
when dropped - Async readable/writeable that dispatches reads to
R
and writes toW
- Future for
SinkPrepareExt::prepare_send_from
- A [
Sink
] which is ready to receive an item
Traits
- Values that can signal EOF
- Extension trait for some
postage::watch::Sender
to providemaybe_send
- Extension trait for
Sink
- Extension trait for [
Sink
] to add a method for cancel-safe usage.